package com.pth.service;
import java.util.List;

import com.pth.model.Policy;
import com.pth.utils.PageBean;

public interface PolicyService {

	public void add(Policy policy);
	
	public void delete(Policy policy);
	
	public void modify(Policy policy);
	
	public Policy getPolicyByid(int id);
	
	public PageBean getAllPolicies(final int pagesize,final int page);
	
	public List<Policy> getPoliciesOrderByScannum();
	
	
	List<Policy> getAllPolicies();
	
	void createIndex();
	
}
